package com.example.cart.service;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

@Service
@Slf4j
public class CartService {

    // @MyValue("shopping.cart.max-capacity")
    private int maxCapacity;

    public void printCartConfig() {
        log.info("Max Items: {}", maxCapacity);
    }

}
